package com.ws.lv.mapper;

import com.ws.lv.bean.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface SupplierMapper {
    List<Supplier> selectSupplierAll();

    List<Supplier> selectSuppliers(String supplier_name);

    int insertSupplier(Supplier supplier);

    Supplier selectSupplierById(Integer supplier_id);

    int updateSupplier(Supplier supplier);

    int deleteSupplierById(Integer supplier_id);

    int deleteSuppliers(ArrayList<Integer> supplier_ids);
}
